<?php /* Smarty version Smarty-3.1.6, created on 2013-04-08 05:32:58
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/Accounts/sale_funds_list_view.tpl" */ ?>
<?php /*%%SmartyHeaderCode:119813709551623a6acd0d63-03313762%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ee983aa52ca36594e578b929df7a0a7cdfa7c38b' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/Accounts/sale_funds_list_view.tpl',
      1 => 1364183643,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '119813709551623a6acd0d63-03313762',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'rs' => 0,
    'lang' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_51623a6ad8133',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51623a6ad8133')) {function content_51623a6ad8133($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['cash']||$_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['bill']||$_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['transfer']||$_smarty_tpl->tpl_vars['rs']->value['fund']['close_out']['list'][0]['id']>0){?>
 
<?php if ($_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['cash']){?>
    <table border="0" cellspacing="0" cellpadding="0" class="add_table_money" align="center">
	 <thead>
	  	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['cash']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
	 	<tr>
	 		<td  id="pay_cash_show" class="b_top t_right"><?php echo $_smarty_tpl->tpl_vars['lang']->value['cash'];?>
：</td>
	 		<td  id="cash<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" class="t_right_red b_top" width="121"><span class="pad_right_3"><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_money'];?>
</span></td>
	 		</tr>
 		<?php } ?>	
	 </thead>
	</table>   	
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['bill']){?>
	 <table border="0" cellspacing="0" cellpadding="0" class="add_table_money" align="center">
	 	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['bill']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
	 		<tr id="cash<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
">
	 		<td id="pay_bill_show" class="b_top t_right">
	 		<?php echo $_smarty_tpl->tpl_vars['lang']->value['bill_date'];?>
：<?php echo $_smarty_tpl->tpl_vars['item']->value['bank_center']['fmd_bank_date'];?>
&nbsp;
	 		<?php echo $_smarty_tpl->tpl_vars['lang']->value['bill_no'];?>
：<?php echo $_smarty_tpl->tpl_vars['item']->value['bank_center']['bill_no'];?>
&nbsp;
	 		<?php echo $_smarty_tpl->tpl_vars['lang']->value['pay_bill'];?>
：
	 		</td> 		
	 		<td class="t_right_red b_top" width="121"><span class="pad_right_3"><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_money'];?>
</span></td>
	 		</tr>
 		<?php } ?> 
	</table>   	
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['transfer']){?>
	 <table border="0" cellspacing="0" cellpadding="0" class="add_table_money" align="center">
	 	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['rs']->value['fund']['advance']['transfer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
	   <tr id="cash<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"> 
	 		<td id="pay_transfer_show" class="b_top t_right">
	 		<?php echo $_smarty_tpl->tpl_vars['lang']->value['pay_bank'];?>
：<?php echo $_smarty_tpl->tpl_vars['item']->value['bank_center']['bank_name'];?>
&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['lang']->value['pay_transfer'];?>
：</td>
	 		<td class="t_right_red b_top" width="121"><span class="pad_right_3"><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_money'];?>
</span></td>
	 		</tr>
 		<?php } ?>  
	</table>   	
<?php }?>

<?php if ($_smarty_tpl->tpl_vars['rs']->value['fund']['close_out']['list'][0]['id']>0){?>
 <table border="0" cellspacing="0" cellpadding="0" class="add_table_money" align="center">
<tr>
	<th colspan="4"><?php echo $_smarty_tpl->tpl_vars['lang']->value['else'];?>
</th>
</tr>
<tr>
	<td><?php echo $_smarty_tpl->tpl_vars['lang']->value['is_close_out'];?>
：</td>
	<td class="t_left"><?php echo $_smarty_tpl->tpl_vars['lang']->value['yes'];?>
</td> 
	<td><?php echo $_smarty_tpl->tpl_vars['lang']->value['close_out_comments'];?>
：</td>
	<td class="t_left">
		<?php echo $_smarty_tpl->tpl_vars['rs']->value['fund']['close_out']['list'][0]['comments'];?>

	</td>    			
</tr>
</table>
<?php }?>




<?php }?><?php }} ?>